package tack15;

import javax.swing.*;
import java.awt.*;

/**
 * 查询界面
 */
public class SearchPanel extends JPanel {

    private Font font = new Font("黑体",Font.PLAIN,30);
    private JLabel inquire = new JLabel("你的余额");
    private ImageIcon picture = new ImageIcon("atmlogo/buttonOff.jpg");

    private JButton picture1 = new JButton(picture);

    public SearchPanel(){
        this.setLayout(null);

        picture1.setBounds(660,240,150,50);

        inquire.setBounds(320,240,150,50);
        inquire.setFont(font);
        inquire.setForeground(Color.cyan);

        this.add(picture1);
        this.add(inquire);

        this.setOpaque(false);

    }
}
